Skip to content

Task/192 global exception handler#193

Closed
ntgbaoo wants to merge 3 commits into
devfrom
task/192-GlobalExceptionHandler
Closed

Task/192 global exception handler#193
ntgbaoo wants to merge 3 commits into
devfrom
task/192-GlobalExceptionHandler

Conversation

@ntgbaoo
Copy link
Copy Markdown
Member

@ntgbaoo ntgbaoo commented Mar 27, 2026

Summary / Description

The current GlobalExceptionHandlerdefines the the error_code and HttpStatus for each exception. This is a bad design and not really scalable. Ideally, we should move these attributes to the exception classes

Related Issues: #193

Type of Change

  • Bug fix
  • New feature
  • Breaking Change
  • Refactoring
  • Documentation update

Test Evidence

Describe how this PR has been tested.

  • Unit tests
  • Integration tests

Questions / Discussion Points

Important

For reviewers, since this PR is pretty important. Please check the error code and HTTP status for each Exception to make sure they match those defined in GlobalExceptionHandler.

@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 27, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@ntgbaoo ntgbaoo requested review from EricHodgson and gloox March 27, 2026 01:39
@ntgbaoo ntgbaoo self-assigned this Mar 27, 2026
@ntgbaoo ntgbaoo added the low Low priority label Mar 27, 2026
@ntgbaoo ntgbaoo added this to the Sprint 4 milestone Mar 27, 2026
@sonarqubecloud
Copy link
Copy Markdown

@ntgbaoo ntgbaoo modified the milestones: Sprint 4, Future works Mar 27, 2026
@ntgbaoo ntgbaoo closed this Apr 1, 2026
@ntgbaoo
Copy link
Copy Markdown
Member Author

ntgbaoo commented Apr 1, 2026

Risky but not worth. Closed for now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

low Low priority

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant